package com.ctgu.examonline.dao;

import com.ctgu.examonline.entity.Problem;
import com.ctgu.examonline.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProblemDao {

    //保存
    void save(Problem problem);

    //删除
    void remove(Integer pro_no);

    //更新
    void update(Problem problem);

    //获取所有试题
    List<Problem> listAllProblem();
}
